package ru.st.selenium.pages;

import static org.openqa.selenium.support.ui.ExpectedConditions.presenceOfElementLocated;

import org.openqa.selenium.By;

public class AddFilmPage extends AnyPage {
	
	public AddFilmPage(PageManager pages) {
		super(pages);
	}

	public AddFilmPage ensurePageLoaded() {
	      super.ensurePageLoaded();
	      wait.until(presenceOfElementLocated(By.id("updateform")));
	      return this;
	    }
	

}
